#ifndef RECOGNIZER_H
#define RECOGNIZER_H
#include "opencv.hpp"
#include "core/core.hpp"
#include "highgui/highgui.hpp"
#include "cv.hpp"
#include "recognizerstrategy.h"
#include "nothingrecognizerstrategy.h"
using namespace cv;
class Recognizer
{
public:
    Recognizer();
    ~Recognizer();
    bool openCamera();
    Mat getFrame(double scale);
    void closeCamera();
    void setRecognizerStrategy(RecognizerStrategy *rs);
private:
    RecognizerStrategy *rs;
    VideoCapture m_cap;
    Mat m_frame;
};

#endif // RECOGNIZER_H
